
<table class="table table-hover">
    <colgroup>
        <col class="span2">
        <col class="span6">
        <col class="span2">
    </colgroup>
    <thead>
        <tr>
            <th><?php echo '属性'; ?></th>
            <th><?php echo '内容'; ?></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <?php echo '类型名称'; ?>
            </td>
            <td>
                <?php
                echo CHtml::activeTextField($model, $typeNameField, array('placeholder' => '英文名' . '...','required' => true));
                ?>
                <!--                    &nbsp;&nbsp;&nbsp;&nbsp;<a id="CreateNewType_clink" role="button" data-toggle="modal" class="btn disabled" style="font-size: 12px;margin-top: -12px;">创建新类型</a>-->
            </td>
        </tr>
        <tr>
            <td>
                <?php echo '类型别名'; ?>
            </td>
            <td>
                <?php
                echo CHtml::activeTextField($model, $typeAliasField, array('placeholder' => '别名，显示名' . '...', 'required' => true));
                ?>
                <!--                    &nbsp;&nbsp;&nbsp;&nbsp;<a id="CreateNewType_clink" role="button" data-toggle="modal" class="btn disabled" style="font-size: 12px;margin-top: -12px;">创建新类型</a>-->
            </td>
        </tr>
        <tr>
            <td> <?php echo '兑换货币'; ?> </td>
            <td>
                <?php
                $currencyData = BAMemberPointCooker::getCurrencyData();
                echo CHtml::activeDropDownList($model, $currencyField, $currencyData, array('required' => true));
                ?>
            </td>
        </tr>      
        <tr>
            <td> <?php echo '货币单位'; ?> </td>
            <td>
                <?php
                $currencyUnitData = BAMemberPointCooker::getCurrencyUnitData();
                echo CHtml::activeDropDownList($model, $currencyUnitField, $currencyUnitData, array('required' => true));
                ?>
            </td>
        </tr>
        <tr><td> <?php echo '兑换率'; ?></td>
            <td>
                <?php
                echo CHtml::activeTextField($model, $currencyRateField, array('placeholder' => '1个积分等于多少货币单位', 'required' => true));
                ?>
            </td>
        </tr>
    </tbody>
</table>

